<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
	</head>

	<body>
		<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.min.js"></script>
		<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
		<script src="../dist/main.js"></script>
		<script src="./list.js"></script>
		<script>
			Vue.use(SGApi.default, {
				apiUrls: apiList,
				codeCatcher(data) {
					return data.versionCode;
				}
			});
			SGApi.default.$catch('13', res => {
				return {
					success: true,
					data: res.data
				}
			});
			SGApi.default.$on('REQUEST', config => {
				config.headers.token = '1';
				return config;
			});
			console.log("SGApi", SGApi)
		</script>
	</body>

</html>
